<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

Route::any('/', "GoodsController@index");
Route::any('/wx',"WxController@index");
Route::any('goods/{gid}','GoodsController@goods');


Route::any('/denglu', "WxController@denglu");
Route::any('/weibo', "WxController@weibo");

Route::any('/center',"UserController@center");
Route::any('/login',"UserController@login");
Route::any('/logout',"userController@logout");


//Route::controller('user','TestController');
